import React from 'react'
import Modal from './Modal2';
import './css/alert.less'
class Alert extends React.Component {
	render () {
		return (
			<Modal>
				<div>
					<header className="modal-header tip-header">  
						<h4 className="tip" style={{marginLeft:"43%"}}>温馨提示</h4>  
						<span className="tipclose"
							onClick={()=>{
								this.props.showAlert();
							}}>
							<img src={require('../../images/XX.png')} alt="xx" /> 
						</span>  
					</header>  
					<div className="modal-body">  
						<p className="testclass">请输入完整信息。</p>
					</div>  
					<footer className="modal-footer tip-footer" style={{padding:'5px'}}>  
						<p className="cancel" onClick={()=>{this.props.showAlert()}}>知道了</p>  
						
					</footer>  
					</div>
			</Modal>
    )
  }
}
export default Alert;